<?php
namespace app\validate;

use app\base\BaseValidate;

/**
 * 验证器-GoodsValidate
 * Class GoodsValidate
 * @package app\validate
 */
class GoodsFindValidate extends BaseValidate
{
    
    protected $rule = [
        'id' => 'require|number',
        'goods_id|商品id' => 'require',
        'text|文字内容' => 'require',
        'label|标签' => 'require',
        'status|状态' => 'require|in:1,2',
    ];

}
